package dao;

import java.util.List;

import pojo.Advertisement;

public interface AdvertisementDao {

	public List<Advertisement> findAll(String mId);
	
	public Advertisement update(String id,String status,String mId);
	
	public Advertisement save(Advertisement ad,String mId);

	List<Advertisement> findByStatus(String mId, String status);

	Advertisement findById(String id);
}
